import request from "./http";

//获取用户名密码验证
export function getLoginCellphone(params) {
    return request({
        url: "/login/cellphone",
        method: "post",
        //post请求使用data
        data:params
        // headers:{
        //     "Content-Type":"multipart/form-data" //模仿表单提交方式
        // }
    })
}

//获取验证码
export function getCaptchaSent(params) {
    return request({
        url: "/captcha/sent",
        method: "get",
        params
    })
}


//验证验证码
export function getCaptchaVerifyt(params) {
    return request({
        url: "/captcha/verify",
        method: "get",
        params
    })
}

